In this study, chemically modified MCM-41 mesoporous structure was used as adsorbent for removal of Rhodamine B and Yellow 13. In the step stage, chemical modification carried out using N-(2-aminoethyl(-3-aminopropyltrimethoxysilane and in the next stage with pyridine carbaldehyde. Therefore, surface of MCM-41 mesoporous has amino-and pyridine-groups that its performance as adsorbent has been increased. Removal proficiency was studied with parameters such as sorbent mass, pH, contact time, and temperature. Sorbent mass in 1-8 mg, pH in 2-10, contact time in 10-120 min, temperature in 25-65 º C variable. The results showed that as sorbent mass in 1-6 mg, contact time in 10-90 min, and temperature in 25-65 º C increased, removal of dyes increased in 60-100% in values. Optimal conditions were determined as sorbent mass in 5 mg, contact time in 90 min, temperature in 55 and 65 ° C, and pH value in 5 and 8 for Rhodamine B and Yellow 13, respectively. After determination of optimal conditions, its application was investigated on removal of Rhodamine B and Yellow 13 from pharmacy and textile wastes, respectively. The maximum removal values of Rhodamine B and Yellow 13 in wastes using modified MCM-41 were 97. 15 and 95. 55%, respectively.